package com.xncoding.design.observation.demo1;

public class main {

	public static void main(String[] args) {
		Storage storage = new Storage();
		new Thread(new Producer(storage)).start();
		
		
		new Thread(new Consumer(storage)).start();
		new Thread(new Consumer1(storage)).start();
		new Thread(new Consumer2(storage)).start();
		new Thread(new Consumer3(storage)).start();
		new Thread(new Consumer4(storage)).start();
	}

}
